package com.ruoyi.tb.lmt.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 计划明细对象 tb_repairplanlist
 *
 * @author ruoyi
 * @date 2023-12-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_repairplanlist")
public class TbRepairplanlist extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    /**
     * 计划id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long planId;
    /**
     * 车型
     */
    private String lmtType;
    /**
     * 车号
     */
    private String lmtNumber;
    /**
     * 修别
     */
    private String repairType;
    /**
     * 修次
     */
    private String repairTimes;
    /**
     * 编号
     */
    private String repairCode;
    /**
     * 修程（修1、修2、修3）
     */
    private String repairChar;
    /**
     * 开始日期
     */
    private Date repairStartDate;
    /**
     * 结束日期
     */
    private Date repairEndDate;
    /**
     * 检修单元
     */
    private String repairUnit;
    /**
     *
     */
    private Date inTime;
    /**
     *
     */
    private Date dutyTime;
    /**
     *
     */
    private Date outTime;
    /**
     *
     */
    private Long repairKm;
    /**
     *
     */
    private String placeRoom;
    /**
     *
     */
    private String placeLine;
    /**
     * 状态
     */
    private String status;
    /**
     * 备注
     */
    private String remark;
    /**
     *
     */
    private String jszd;
    /**
     *
     */
    private String thcl;
    /**
     * 配属车间
     */
    private String workerTeam;

    private Date expirationDate;

    private Integer isReplaceDgzz;

    private Integer isReplaceFdj;

    @TableField(exist = false)
    private String planName;
    @TableField(exist = false)
    private String planCode;

    /**
     * 段验人
     */
    private String checkUser2;
    /**
     * 段验时间
     */
    private Date checkTime2;
    /**
     * 局验人
     */
    private String checkUser3;
    /**
     * 局验时间
     */
    private Date checkTime3;

    /**
     * 检修开始时间
     */
    private Date startTime;

    /**
     * 检修完成时间
     */
    private Date endTime;

    private String workGroup;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long workGroupId;

    //检修天数
    private String repairDays;
    //申请人
    private String applicant;

    //审批时间
    private Date approvedTime;

    //审批人
    private String approvedUser;

    //审批状态
    private String approvedStatus;

    private String repairNum;
}
